package com.qf.mapper;/*
 *徐韬
 *2021/10/31
 *19:28
 */

import com.qf.pojo.TLimit;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface limitMapper {
    @Select("select * from t_limit")
    List<TLimit> selectAll();
    @Insert("insert into t_limit values(0,#{limitTime},#{limitCount},#{limitState},#{despcription}); ")
    int insert(TLimit tLimit);
    int updateLimit(TLimit tLimit);
    int deleteByids(@Param("ids") List<Integer> ids);
}

